<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/ross-random.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ross-random.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="ross_8h_source.html">ross.h</a>&gt;</code><br/>
</div>
<p><a href="ross-random_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a5600e4cb011d29cc24a2408220d58909"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structtw__rng.html">tw_rng</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#a5600e4cb011d29cc24a2408220d58909">tw_rand_init</a> (uint32_t v, uint32_t w)</td></tr>
<tr class="separator:a5600e4cb011d29cc24a2408220d58909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56ae5b708a840eb42ad336f8852b6d5e"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#a56ae5b708a840eb42ad336f8852b6d5e">tw_rand_integer</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, long low, long high)</td></tr>
<tr class="separator:a56ae5b708a840eb42ad336f8852b6d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58c39b87e177cf5f8e8312e02f21782e"><td class="memItemLeft" align="right" valign="top">unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#a58c39b87e177cf5f8e8312e02f21782e">tw_rand_ulong</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, unsigned long low, unsigned long high)</td></tr>
<tr class="separator:a58c39b87e177cf5f8e8312e02f21782e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a599b01ae062d3a8517c803e3349cf771"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#a599b01ae062d3a8517c803e3349cf771">tw_rand_binomial</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, long N, double P)</td></tr>
<tr class="separator:a599b01ae062d3a8517c803e3349cf771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac042351acc76e850fd420dd41f0d58eb"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#ac042351acc76e850fd420dd41f0d58eb">tw_rand_exponential</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, double Lambda)</td></tr>
<tr class="separator:ac042351acc76e850fd420dd41f0d58eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8f6e0d9b88b26966e5819a53d18877c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#af8f6e0d9b88b26966e5819a53d18877c">tw_rand_pareto</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, double shape, double scale)</td></tr>
<tr class="separator:af8f6e0d9b88b26966e5819a53d18877c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33ef78bb479bf2642fb38490c79e0fc8"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#a33ef78bb479bf2642fb38490c79e0fc8">tw_rand_gamma</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, double shape, double scale)</td></tr>
<tr class="separator:a33ef78bb479bf2642fb38490c79e0fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9eeb025da6834fc04b6d107fd6118a5f"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#a9eeb025da6834fc04b6d107fd6118a5f">tw_rand_geometric</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, double P)</td></tr>
<tr class="separator:a9eeb025da6834fc04b6d107fd6118a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb86f64e46e19ed8b3176b5a273c4aac"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#aeb86f64e46e19ed8b3176b5a273c4aac">tw_rand_normal01</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, unsigned int *rng_calls)</td></tr>
<tr class="separator:aeb86f64e46e19ed8b3176b5a273c4aac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3403d336421708331348cd7bce0b32f3"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#a3403d336421708331348cd7bce0b32f3">tw_rand_normal_sd</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, double Mu, double Sd, unsigned int *rng_calls)</td></tr>
<tr class="separator:a3403d336421708331348cd7bce0b32f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad442a45d2d71a342d1ebb1f183caad83"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#ad442a45d2d71a342d1ebb1f183caad83">tw_rand_poisson</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, double Lambda)</td></tr>
<tr class="separator:ad442a45d2d71a342d1ebb1f183caad83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70f2313a6093f0a7a8bf949e246e5bda"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#a70f2313a6093f0a7a8bf949e246e5bda">tw_rand_lognormal</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, double <a class="el" href="phold_8h.html#ad4bbf91c2b6e66b1ad2a070b77b62442">mean</a>, double sd, unsigned int *rng_calls)</td></tr>
<tr class="separator:a70f2313a6093f0a7a8bf949e246e5bda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5fcd32f48d8cdb58b0d604a71eb209d"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ross-random_8c.html#aa5fcd32f48d8cdb58b0d604a71eb209d">tw_rand_weibull</a> (<a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *g, double <a class="el" href="phold_8h.html#ad4bbf91c2b6e66b1ad2a070b77b62442">mean</a>, double shape)</td></tr>
<tr class="separator:aa5fcd32f48d8cdb58b0d604a71eb209d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a599b01ae062d3a8517c803e3349cf771"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long tw_rand_binomial </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>N</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>P</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00053">53</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="ross-random_8h_source.html#l00005">tw_rand_unif</a>.</p>

</div>
</div>
<a class="anchor" id="ac042351acc76e850fd420dd41f0d58eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double tw_rand_exponential </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>Lambda</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00069">69</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="ross-random_8h_source.html#l00005">tw_rand_unif</a>.</p>

<p>Referenced by <a class="el" href="phold_8c_source.html#l00059">phold_event_handler()</a>, <a class="el" href="phold_8c_source.html#l00011">phold_init()</a>, <a class="el" href="phold_8c_source.html#l00039">phold_pre_run()</a>, and <a class="el" href="ross-random_8c_source.html#l00081">tw_rand_gamma()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="ross-random_8c_ac042351acc76e850fd420dd41f0d58eb_icgraph.png" border="0" usemap="#ross-random_8c_ac042351acc76e850fd420dd41f0d58eb_icgraph" alt=""/></div>
<map name="ross-random_8c_ac042351acc76e850fd420dd41f0d58eb_icgraph" id="ross-random_8c_ac042351acc76e850fd420dd41f0d58eb_icgraph">
<area shape="rect" id="node2" href="phold_8c.html#a85ba7c43c159225d369a4edc07c91fa3" title="phold_event_handler" alt="" coords="195,5,336,32"/><area shape="rect" id="node3" href="phold_8c.html#a721365de85f51a68a49f3af69f411e10" title="phold_init" alt="" coords="227,56,304,83"/><area shape="rect" id="node4" href="phold_8c.html#a097328e25aacfc8361de4bcd3ef77a18" title="phold_pre_run" alt="" coords="214,107,317,133"/><area shape="rect" id="node5" href="ross-random_8h.html#a33ef78bb479bf2642fb38490c79e0fc8" title="tw_rand_gamma" alt="" coords="206,157,325,184"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a33ef78bb479bf2642fb38490c79e0fc8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double tw_rand_gamma </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>shape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00081">81</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="ross-random_8c_source.html#l00069">tw_rand_exponential()</a>, and <a class="el" href="ross-random_8h_source.html#l00005">tw_rand_unif</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="ross-random_8c_a33ef78bb479bf2642fb38490c79e0fc8_cgraph.png" border="0" usemap="#ross-random_8c_a33ef78bb479bf2642fb38490c79e0fc8_cgraph" alt=""/></div>
<map name="ross-random_8c_a33ef78bb479bf2642fb38490c79e0fc8_cgraph" id="ross-random_8c_a33ef78bb479bf2642fb38490c79e0fc8_cgraph">
<area shape="rect" id="node2" href="ross-random_8c.html#ac042351acc76e850fd420dd41f0d58eb" title="tw_rand_exponential" alt="" coords="173,5,315,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9eeb025da6834fc04b6d107fd6118a5f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long tw_rand_geometric </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>P</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00141">141</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="ross-random_8h_source.html#l00005">tw_rand_unif</a>.</p>

</div>
</div>
<a class="anchor" id="a5600e4cb011d29cc24a2408220d58909"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structtw__rng.html">tw_rng</a>* tw_rand_init </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>w</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00007">7</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="rand-clcg4_8c_source.html#l00338">rng_init()</a>.</p>

<p>Referenced by <a class="el" href="tw-pe_8c_source.html#l00032">tw_pe_init()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="ross-random_8c_a5600e4cb011d29cc24a2408220d58909_cgraph.png" border="0" usemap="#ross-random_8c_a5600e4cb011d29cc24a2408220d58909_cgraph" alt=""/></div>
<map name="ross-random_8c_a5600e4cb011d29cc24a2408220d58909_cgraph" id="ross-random_8c_a5600e4cb011d29cc24a2408220d58909_cgraph">
<area shape="rect" id="node2" href="rand-clcg4_8c.html#a3c5ea1f9125b9534b62a80dbfa20dafb" title="rng_init" alt="" coords="147,81,211,108"/><area shape="rect" id="node3" href="rand-clcg4_8c.html#af6fe13cfedc4e727feee7b28869e036e" title="clamp_seed" alt="" coords="259,5,351,32"/><area shape="rect" id="node4" href="rand-clcg4_8c.html#ac243c54261ecf17a1b848e9b9a2025a9" title="Find B to run CLCG4 backwards. " alt="" coords="277,56,333,83"/><area shape="rect" id="node5" href="rand-clcg4_8c.html#ab89ab01c93d79746cff9a7ed763b24d3" title="Returns(s*t) MOD M. " alt="" coords="264,107,347,133"/><area shape="rect" id="node6" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70" title="tw_calloc" alt="" coords="267,157,344,184"/><area shape="rect" id="node7" href="tw-util_8c.html#a57c62eebb6371a6d0d5ea5043f12f91b" title="pool_alloc" alt="" coords="400,132,480,159"/><area shape="rect" id="node9" href="tw-util_8c.html#a653cb2b88ee27b886ba5c854d5a0ba5c" title="tw_error" alt="" coords="405,183,475,209"/><area shape="rect" id="node8" href="tw-util_8c.html#a0611e23c33bb8c31272e79d876b8bcb0" title="my_malloc" alt="" coords="535,132,620,159"/><area shape="rect" id="node10" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="529,183,626,209"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="ross-random_8c_a5600e4cb011d29cc24a2408220d58909_icgraph.png" border="0" usemap="#ross-random_8c_a5600e4cb011d29cc24a2408220d58909_icgraph" alt=""/></div>
<map name="ross-random_8c_a5600e4cb011d29cc24a2408220d58909_icgraph" id="ross-random_8c_a5600e4cb011d29cc24a2408220d58909_icgraph">
<area shape="rect" id="node2" href="tw-pe_8c.html#a2a0e6607074d85f80badcf5f5da3547e" title="tw_pe_init" alt="" coords="147,5,229,32"/><area shape="rect" id="node3" href="network-mpi_8h.html#a625a50a6a03701b067693d7dc5ed483b" title="Starts the network library after option parsing. " alt="" coords="278,5,373,32"/><area shape="rect" id="node4" href="tw-setup_8c.html#a7d395f5590701f5526a161fcb1261b03" title="tw_init" alt="" coords="422,5,482,32"/><area shape="rect" id="node5" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="531,5,581,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a56ae5b708a840eb42ad336f8852b6d5e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long tw_rand_integer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>low</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>high</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>NOTE: Don't pass negative values to low! </p>

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00021">21</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="ross-random_8h_source.html#l00005">tw_rand_unif</a>.</p>

<p>Referenced by <a class="el" href="phold_8c_source.html#l00059">phold_event_handler()</a>, and <a class="el" href="phold_8c_source.html#l00039">phold_pre_run()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="ross-random_8c_a56ae5b708a840eb42ad336f8852b6d5e_icgraph.png" border="0" usemap="#ross-random_8c_a56ae5b708a840eb42ad336f8852b6d5e_icgraph" alt=""/></div>
<map name="ross-random_8c_a56ae5b708a840eb42ad336f8852b6d5e_icgraph" id="ross-random_8c_a56ae5b708a840eb42ad336f8852b6d5e_icgraph">
<area shape="rect" id="node2" href="phold_8c.html#a85ba7c43c159225d369a4edc07c91fa3" title="phold_event_handler" alt="" coords="168,5,309,32"/><area shape="rect" id="node3" href="phold_8c.html#a097328e25aacfc8361de4bcd3ef77a18" title="phold_pre_run" alt="" coords="187,56,290,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a70f2313a6093f0a7a8bf949e246e5bda"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double tw_rand_lognormal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>mean</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int *&#160;</td>
          <td class="paramname"><em>rng_calls</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00209">209</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="ross-random_8c_source.html#l00152">tw_rand_normal01()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="ross-random_8c_a70f2313a6093f0a7a8bf949e246e5bda_cgraph.png" border="0" usemap="#ross-random_8c_a70f2313a6093f0a7a8bf949e246e5bda_cgraph" alt=""/></div>
<map name="ross-random_8c_a70f2313a6093f0a7a8bf949e246e5bda_cgraph" id="ross-random_8c_a70f2313a6093f0a7a8bf949e246e5bda_cgraph">
<area shape="rect" id="node2" href="ross-random_8c.html#aeb86f64e46e19ed8b3176b5a273c4aac" title="tw_rand_normal01" alt="" coords="184,5,312,32"/><area shape="rect" id="node3" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="360,5,429,32"/><area shape="rect" id="node4" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="478,5,575,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aeb86f64e46e19ed8b3176b5a273c4aac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double tw_rand_normal01 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int *&#160;</td>
          <td class="paramname"><em>rng_calls</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00152">152</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="rand-clcg4_8h_source.html#l00044">tw_rng_stream::tw_normal_flipflop</a>, <a class="el" href="rand-clcg4_8h_source.html#l00042">tw_rng_stream::tw_normal_u1</a>, <a class="el" href="rand-clcg4_8h_source.html#l00043">tw_rng_stream::tw_normal_u2</a>, <a class="el" href="ross-random_8h_source.html#l00004">tw_opi</a>, and <a class="el" href="ross-random_8h_source.html#l00005">tw_rand_unif</a>.</p>

<p>Referenced by <a class="el" href="ross-random_8c_source.html#l00209">tw_rand_lognormal()</a>, and <a class="el" href="ross-random_8c_source.html#l00182">tw_rand_normal_sd()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="ross-random_8c_aeb86f64e46e19ed8b3176b5a273c4aac_cgraph.png" border="0" usemap="#ross-random_8c_aeb86f64e46e19ed8b3176b5a273c4aac_cgraph" alt=""/></div>
<map name="ross-random_8c_aeb86f64e46e19ed8b3176b5a273c4aac_cgraph" id="ross-random_8c_aeb86f64e46e19ed8b3176b5a273c4aac_cgraph">
<area shape="rect" id="node2" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="181,5,251,32"/><area shape="rect" id="node3" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="299,5,397,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="ross-random_8c_aeb86f64e46e19ed8b3176b5a273c4aac_icgraph.png" border="0" usemap="#ross-random_8c_aeb86f64e46e19ed8b3176b5a273c4aac_icgraph" alt=""/></div>
<map name="ross-random_8c_aeb86f64e46e19ed8b3176b5a273c4aac_icgraph" id="ross-random_8c_aeb86f64e46e19ed8b3176b5a273c4aac_icgraph">
<area shape="rect" id="node2" href="ross-random_8c.html#a70f2313a6093f0a7a8bf949e246e5bda" title="tw_rand_lognormal" alt="" coords="184,5,315,32"/><area shape="rect" id="node3" href="ross-random_8h.html#a3403d336421708331348cd7bce0b32f3" title="tw_rand_normal_sd" alt="" coords="182,56,317,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a3403d336421708331348cd7bce0b32f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double tw_rand_normal_sd </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>Mu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>Sd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int *&#160;</td>
          <td class="paramname"><em>rng_calls</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00182">182</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="ross-random_8c_source.html#l00152">tw_rand_normal01()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="ross-random_8c_a3403d336421708331348cd7bce0b32f3_cgraph.png" border="0" usemap="#ross-random_8c_a3403d336421708331348cd7bce0b32f3_cgraph" alt=""/></div>
<map name="ross-random_8c_a3403d336421708331348cd7bce0b32f3_cgraph" id="ross-random_8c_a3403d336421708331348cd7bce0b32f3_cgraph">
<area shape="rect" id="node2" href="ross-random_8c.html#aeb86f64e46e19ed8b3176b5a273c4aac" title="tw_rand_normal01" alt="" coords="189,5,317,32"/><area shape="rect" id="node3" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="365,5,435,32"/><area shape="rect" id="node4" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="483,5,581,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af8f6e0d9b88b26966e5819a53d18877c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double tw_rand_pareto </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>shape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00075">75</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="ross-random_8h_source.html#l00005">tw_rand_unif</a>.</p>

</div>
</div>
<a class="anchor" id="ad442a45d2d71a342d1ebb1f183caad83"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long tw_rand_poisson </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>Lambda</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00188">188</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="ross-random_8h_source.html#l00005">tw_rand_unif</a>.</p>

</div>
</div>
<a class="anchor" id="a58c39b87e177cf5f8e8312e02f21782e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long tw_rand_ulong </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>low</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>high</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00037">37</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="ross-random_8h_source.html#l00005">tw_rand_unif</a>.</p>

</div>
</div>
<a class="anchor" id="aa5fcd32f48d8cdb58b0d604a71eb209d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double tw_rand_weibull </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__rng__stream.html">tw_rng_stream</a> *&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>mean</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>shape</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ross-random_8c_source.html#l00215">215</a> of file <a class="el" href="ross-random_8c_source.html">ross-random.c</a>.</p>

<p>References <a class="el" href="ross-random_8h_source.html#l00005">tw_rand_unif</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
